package router

import (
	"api/internal/api"
	"api/internal/middleware"
	"github.com/gin-gonic/gin"
)

func ShopRouter(c *gin.RouterGroup) {
	shopRouter := c.Group("shop").Use(middleware.MiddleWare())
	{
		shopRouter.POST("create", api.Create)
		shopRouter.GET("list", api.List)
	}
}
